package com.tarena.lbs.activity.service;


import com.tarena.lbs.activity.api.pojo.ActivityDto;
import com.tarena.lbs.activity.pojo.param.ActivityAddParam;
import com.tarena.lbs.activity.pojo.query.ActivityQuery;
import com.tarena.lbs.activity.pojo.vo.ActivityVO;
import com.tarena.lbs.base.protocol.exception.BusinessException;
import com.tarena.lbs.base.protocol.pager.PageResult;

public interface ActivityService {

    PageResult<ActivityVO> pageList(ActivityQuery activityQuery) throws BusinessException;

    void activitySave(ActivityAddParam param) throws BusinessException;

    ActivityVO activityDetail(Integer id) throws BusinessException;

    void activityDelete(Integer id) throws BusinessException;

    Boolean activityVisible(Integer userId, Integer activityId) throws BusinessException;

    ActivityDto getActivityById(Integer activityId) throws BusinessException;
}
